package com.auxgroup.hr.front.dao.domain;

import java.io.Serializable;

import org.apache.commons.lang.builder.ToStringBuilder;

/** 
 * @author lvliuhao 
 * @version 创建时间：2018年8月20日 下午3:44:45 
 * 类说明 
 */
public class PsCEvaDocEvltPrimary implements Serializable {

	private static final long serialVersionUID = 3075782341970377260L;

	private String cEvaDocId;
	
	private String cEvaluateRole;
	
	private String cEvaluator;

	public String getcEvaDocId() {
		return cEvaDocId;
	}

	public void setcEvaDocId(String cEvaDocId) {
		this.cEvaDocId = cEvaDocId;
	}

	public String getcEvaluateRole() {
		return cEvaluateRole;
	}

	public void setcEvaluateRole(String cEvaluateRole) {
		this.cEvaluateRole = cEvaluateRole;
	}

	public String getcEvaluator() {
		return cEvaluator;
	}

	public void setcEvaluator(String cEvaluator) {
		this.cEvaluator = cEvaluator;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#hashCode()
	 */
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((cEvaDocId == null) ? 0 : cEvaDocId.hashCode());
		result = prime * result
				+ ((cEvaluateRole == null) ? 0 : cEvaluateRole.hashCode());
		result = prime * result
				+ ((cEvaluator == null) ? 0 : cEvaluator.hashCode());
		return result;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#equals(java.lang.Object)
	 */
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		PsCEvaDocEvltPrimary other = (PsCEvaDocEvltPrimary) obj;
		if (cEvaDocId == null) {
			if (other.cEvaDocId != null)
				return false;
		} else if (!cEvaDocId.equals(other.cEvaDocId))
			return false;
		if (cEvaluateRole == null) {
			if (other.cEvaluateRole != null)
				return false;
		} else if (!cEvaluateRole.equals(other.cEvaluateRole))
			return false;
		if (cEvaluator == null) {
			if (other.cEvaluator != null)
				return false;
		} else if (!cEvaluator.equals(other.cEvaluator))
			return false;
		return true;
	}
	
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
	
}
 